//
//#ifndef PROJECTZ_NUSER_NCOMMAND_CS_REQ_USER_STAT_INFO_H_
//#define PROJECTZ_NUSER_NCOMMAND_CS_REQ_USER_STAT_INFO_H_
//
//#include "../../engine.h"
//
//#include "../../User.h"
//#include "../../Data.h"
//#include "../../game/game.h"
//
//namespace ProjectZ { namespace NCommand { namespace NWorld {
//
//class CS_REQ_USER_STAT_INFO
//{
//public:
//	static void OnExecute(User * pUser, ::Network::Packet * pPacket)
//	{
//		PREPARE_PACKET;
//
//		int gid = 0;
//		pPacket->ParseMsg("%d", &gid);
//
//		::Logger::GETLOG()->ToFile(::Logger::DEBUG, "CS_REQ_USER_STAT_INFO GID : %d, target gid=%d", pUser->GetGID(), gid);
//
//		User *pTarget = NULL;
//		ProjectZ::CUserList::CITR	citr = ProjectZ::AllUserList.List.begin();
//		for( ; citr != ProjectZ::AllUserList.List.end() ; citr++ )
//		{
//			if( (*citr)->GetGID() == gid )
//			{
//				pTarget = (*citr);
//				break;
//			}
//		}
//
//		if( pTarget == NULL )
//		{
//			::Logger::GETLOG()->ToFile(::Logger::DEBUG, "GID \t%d CS_REQ_USER_STAT_INFO target user %d not exist", pUser->GetGID(), gid);
//			return;
//		}
//
//		//Player_Info &target_player_info = pTarget->player_info;
//
//		::Network::Packet * pAck = ::Network::GETPACKETPOOL()->SEND_NEW();
//		* pAck << pTarget->GetCharacterInfo().str;
//		* pAck << pTarget->GetCharacterInfo().dex;
//		* pAck << pTarget->GetCharacterInfo().con;
//		* pAck << pTarget->GetCharacterInfo().spi;
//		pAck->MakePacket(CMD_SC_REQ_USER_STAT_INFO);
//		pUser->Send(pAck);
//	}
//};
//
//} /*NWorld*/ } /*NCommand*/ } /*ProjectZ*/
//
//
//#endif /* PROJECTZ_NUSER_NCOMMAND_CS_REQ_USER_STAT_INFO_H_ */
